package com.sztx.pay.center.rpc.api.service;

import com.sztx.pay.center.rpc.api.domain.PageModelResponse;
import com.sztx.pay.center.rpc.api.domain.WithdrawAuthListRequest;
import com.sztx.pay.center.rpc.api.domain.WithdrawAuthListResponse;

public interface WithdrawAuthRpcService {
	/**
	 * 设置提现黑白名单
	 * @param withdrawAuthListRequest
	 */
	void setWithDrawAuth(WithdrawAuthListRequest withdrawAuthListRequest);
	/**
	 * 查询列表
	 * @param withdrawAuthListRequest
	 * @param page
	 * @param pagesize
	 * @return
	 */
	PageModelResponse<WithdrawAuthListResponse> getWithDrawAuthList(WithdrawAuthListRequest withdrawAuthListRequest,int page,int pagesize);
	/**
	 * 根据userId查询
	 * @param userId
	 * @return
	 */
	WithdrawAuthListResponse getWithDrawAuthByUserId(String userId);
	/**
	 * 根据userId查询
	 * @param userId,channelId
	 * @return
	 */
	WithdrawAuthListResponse getWithDrawAuthByUserId(String userId,String channelId);
}
